<!DOCTYPE html>
<html>
    <head>
        <title>SIGI - <?php echo $titulo ?></title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <!-- Bootstrap -->
        <?php Tag::css('bootstrap3/bootstrap') ?>        
        <style type="text/css">

            #wrap{
                min-height: 100%;
            }

            .brand{
                color: #fefefe !important;
            }

            footer{
                border-top: solid #d7d7d7 1px;
                padding-top: 4px;
                padding-bottom: 9px;
                background-color: #f2f2f2;       

            }
            
            
            body .modal {
                width: 90%; /* desired relative width */
                left: 5%; /* (100%-width)/2 */
                margin: 0 auto;
            }

        </style>
        <?php Tag::css('bootstrap/bootstrap-datetimepicker.min') ?>
        <?php //Tag::css('style') ?>
        <?php Tag::css('bootstrap/select2') ?>
        <?php echo Html::includeCss() ?>
        <?php echo Tag::js("jquery/jquery+kumbiaphp.min") ?> 
        <?php echo Tag::js('jquery/jquery-1.10.2.min') ?>
        <?php echo Tag::js('bootstrap3/bootstrap'); ?>
        <?php echo Tag::js('bootstrap/bootstrap.min'); ?>
        <?php echo Tag::js('bootstrap/bootstrap-datetimepicker.min'); ?>
        <?php echo Tag::js('bootbox/bootbox.min') ?>
        <?php echo Tag::js('bootstrap/select2') ?>

        <?php //echo Tag::js("jquery.fancybox-1.3.4") ?>
        <script type="text/javascript">
            jq = jQuery.noConflict();
            jq('.flash').click(function() {
                jq('.flash').hide();
            });
            jq(function() {
                jq(".tree").parent().children('ul.tree').toggle();
                jq('.tree-toggle').click(function() {
                    jq(this).parent().children('ul.tree').toggle(200);
                });
                jq("select").select2();
            });
        </script>
    </head>
    <body>
        <div id="wrap">
            <div class="row">
                <div class="col-md-12">
                    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
                        <div class="container-fluid">
                            <!-- Collect the nav links, forms, and other content for toggling -->
                            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                                <ul class="nav navbar-nav">
                                    <li class="active"><a href="#"><span class="glyphicon glyphicon-home"></span> INICIO</a></li>
                                    <li class="dropdown">
                                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">MENU<b class="caret"></b></a>
                                        <ul class="dropdown-menu">
                                            <li><a href="">Action</a></li>
                                            <li><?php echo Html::link('formulario/consultar', 'Consultar Personas') ?></li>
                                            <li><a href="#">Another action</a></li>
                                            <li><a href="#">Something else here</a></li>
                                            <li class="divider"></li>
                                            <li><a href="#">Separated link</a></li>
                                            <li class="divider"></li>
                                            <li><a href="#">One more separated link</a></li>
                                        </ul>
                                    </li>
                                </ul>
                            </div><!-- /.container-fluid -->
                    </nav>
                </div>
            </div>    
            <div class="container">
                <div class="row">
                    <div class="col-md-12">
                        <?php echo Html::img('ssobras.png', 'Marquesina', array("width" => "1500px", "class" => "img-responsive")) ?>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-12">
                        <?php echo View::content() ?>
                    </div>
                </div>
            </div> 
        </div>
        <?php //echo View::partial('menu/menu')?>
        <footer>
            <div class="" style="text-align: left; padding-left: 30px; color: #888;">
                Alcald&iacute;a del Municipio Bolivariano Libertador 
                <br />
                Direcci&oacute;n de Tecnolog&iacute;a e Inform&aacute;tica
                <br />
                Copyright <?php echo date("Y") ?>

            </div>  
        </footer>
        <?php echo Tag::js('bootstrap') ?>
    </body>
</html>

